package com.example.start

import android.os.Bundle
import android.util.SparseArray
import com.example.R
import com.example.library_base.base.BaseActivity
import dagger.hilt.android.AndroidEntryPoint

/**
 * 启动页
 * */
@AndroidEntryPoint
class StartUpActivity: BaseActivity(R.layout.activity_start_up) {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        if (savedInstanceState == null) {
            supportFragmentManager.beginTransaction()
                .replace(R.id.container, SplashFragment.newInstance())
                .commitNow()
        }
    }

    override fun getVariableSparseArray(): SparseArray<Any> {
        val variables = SparseArray<Any>()
        return variables
    }

    override fun initView() {

    }

    override fun requestData() {

    }
}